package com.qf.pojo;

/**
 * 护照类
 * @ClassName PassPort
 * @Author xiao宋
 * @Date 10:57  2022/9/23
 * @Version 1.0
 * @Description TODO
 */
public class PassPort {
    private int id;
    private String nationality;
    private String expire;
    private int pId;
    private Passenger passenger;

    @Override
    public String toString() {
        return "PassPort{" +
                "id=" + id +
                ", nationality='" + nationality + '\'' +
                ", expire='" + expire + '\'' +
                ", pId=" + pId +
                ", passenger=" + passenger +
                '}';
    }

    public Passenger getPassenger() {
        return passenger;
    }

    public void setPassenger(Passenger passenger) {
        this.passenger = passenger;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public String getExpire() {
        return expire;
    }

    public void setExpire(String expire) {
        this.expire = expire;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public PassPort(int id, String nationality, String expire, int pId) {
        this.id = id;
        this.nationality = nationality;
        this.expire = expire;
        this.pId = pId;
    }

    public PassPort() {
    }
}
